package com.settlement.system.model.entity.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *优购退款报表
 * @author user
 */
@Data
public class YgRefund {

    /**
     * 公司编码
     */
    @ApiModelProperty(value = "公司编码")
    private String companyNo;

    /**
     * 店铺编码
     */
    @ApiModelProperty(value = "零售店铺编码")
    private String shopNo;

    /**
     * 订单来源
     */
    @ApiModelProperty(value = "订单来源")
    private String orderSource;

    /**
     * 订单来源编码
     */
    @ApiModelProperty(value = "订单来源编码")
    private String orderSourceId;

    /**
     * 店铺
     */
    @ApiModelProperty(value = "店铺")
    private String storeName;

    /**
     * 店铺编码
     */
    @ApiModelProperty(value = "店铺编码")
    private String storeId;

    /**
     * 优购订单号
     */
    @ApiModelProperty(value = "优购订单号")
    private String refBillNo;

    /**
     * 外部订单号（原始外部订单号）
     */
    @ApiModelProperty(value = "外部订单号（原始外部订单号）")
    private String spOrderNo;

    /**
     * 退款时间
     */
    @ApiModelProperty(value = "退款时间")
    private Date backAmountDate;

    /**
     * 退货款金额
     */
    @ApiModelProperty(value = "退货款金额")
    private BigDecimal orderAmount;

    /**
     * 退货款金额
     */
    @ApiModelProperty(value = "退运费金额")
    private BigDecimal postage;

    /**
     * 退货款金额
     */
    @ApiModelProperty(value = "其它扣款")
    private BigDecimal otherAmount;

    /**
     * 退货款金额
     */
    @ApiModelProperty(value = "礼品卡抵扣金额")
    private BigDecimal adjustRefundAmount;

    /**
     * 退货款金额
     */
    @ApiModelProperty(value = "退款合计")
    private BigDecimal totalBalanceAmount;

    /**
     * 实付金额
     */
    @ApiModelProperty(value = "实付金额")
    private BigDecimal prodTotalAmount;

    /**
     * 支付宝交易流水号
     */
    @ApiModelProperty(value = "支付宝交易流水号")
    private String onlinePayNumber;

    /**
     * 退款类型
     */
    @ApiModelProperty(value = "退款类型")
    private String backAmountType;

}
